﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.Common.Configuration
{
    public interface IConfigurationManager
    {
        object Get(string name);

        void Set<T>(string name, T value);

        T GetOrCreate<T>(string name, Func<T> func);

        object Get(string name, object defaultValue);

        T Get<T>(string name, T defaultValue);

        T Get<T>();
    }
}
